package org.springblade.mes.logistics.loc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 库位信息
 * @author 翁金川
 * @since 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("lgs_inventory_loc")
@ApiModel(value="InventoryLoc对象", description="库位信息")
public class InventoryLoc extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 库位编码
     */
    @ApiModelProperty(value = "库位编码")
    private String locCode;

    /**
     * 库位名称
     */
    @ApiModelProperty(value = "库位名称")
    private String locName;

    /**
     * 库区id
     */
    @ApiModelProperty(value = "库区id")
    private Long pid;

    /**
     * 是否预留
     */
    @ApiModelProperty(value = "是否预留")
    private Integer isReserve;

    /**
     * 定置物料编码
     */
    @ApiModelProperty(value = "定置物料编码")
    private String materialCode;

    /**
     * 定置物料名称
     */
    @ApiModelProperty(value = "定置物料名称")
    private String materialName;

    /**
     * 是否有效
     */
    @ApiModelProperty(value = "是否有效")
    private Integer isEnable;

    private String createUserName;

    private String updateUserName;


}
